package spec.wangyuhang.disanzhang.Qiu;

public class ZuQiu extends  Qiu{
    String play(int YunDongyan,int cp){
              // super.play();
             //定义的同时初始化；
             String h=this.play();
            return"h"+"比赛运动员人数"+YunDongyan+","+"裁判"+cp;
    }

   public String  bunengchuqiubuwei;
   //构造方法
   public ZuQiu(String qm, String qzj,String qzc,double qzl,String qshrq){
      super(qm, qzj, qzc, qzl, qshrq);
    }
public ZuQiu(String qm, String qzj,String qzc,double qzl,String qshrq, String  bunengchuqiubuwei){
    super(qm, qzj, qzc, qzl, qshrq);
    this.bunengchuqiubuwei="手";
}
    String play(){
        return"踢足球";
                 }
}
